namespace Webinator.Interfaces
{
    using System.Diagnostics.CodeAnalysis;

    [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Reviewed. Suppression is OK here.")]
    public interface IAjax
    {
        void BeginListeningForAjax();

        bool AjaxIsRunning();

        void WaitForAjaxToComplete(int timeoutInMilliseconds = 10000);

        void StopListeningForAjax();
    }
}